package com.bridgeintelligent.tag.webserver.logs.mapper;

import com.bridgeintelligent.tag.webserver.logs.entity.OperationLog;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface OperationLogMapper {
    void save( OperationLog log );

    OperationLog findOne( @Param( "id" ) String id );

    List<OperationLog> findAll( int pageNum, int pageSize );
}
